package com.cheng.student.dao.mappers;

import com.cheng.student.beans.Administrator;
import org.apache.ibatis.annotations.Param;

public interface AdministratorMapper
{
    public Administrator selectAdministrator(
            @Param("username")String username,
            @Param("password")String password);

    public int changePassword(
            @Param("username")String username,
            @Param("password")String password,
            @Param("newPassword")String newPassword);
}
